<?php
	function format_date($string)
	{
		$y = substr($string, 0, 4);
		$m = substr($string, 5, 2);
		$d = substr($string, 8, 2);
		$result = $d . "." . $m . "." . $y;
		return $result;
	}
?>